package com.njym.java.security.admin.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-11-06 09:41:28
 */
@Table(name = "family_user")
public class FamilyUser implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //主id  家庭主id
    @Column(name = "pid")
    private Integer pid;
	
	    //与主id的关系
    @Column(name = "relation")
    private String relation;
	
	    //姓名
    @Column(name = "name")
    private String name;
	
	    //昵称
    @Column(name = "nick_name")
    private String nickName;
	
	    //手机
    @Column(name = "mobile")
    private String mobile;
	
	    //邮箱
    @Column(name = "email")
    private String email;
	
	    //密码
    @Column(name = "password")
    private String password;
	
	    //客户端唯一标识
    @Column(name = "uuid")
    private String uuid;
	
	    //推送的令牌
    @Column(name = "push_token")
    private String pushToken;
	
	    //性别
    @Column(name = "sex")
    private Integer sex;
	
	    //用户注册来源(0->iPhone, 1->iPad, 2->Android, 3->微信, 4->H5, 5->网站)
    @Column(name = "sourceint")
    private Integer sourceint;
	
	    //头像
    @Column(name = "avatar")
    private String avatar;
	
	    //经度
    @Column(name = "longitude")
    private Float longitude;
	
	    //纬度
    @Column(name = "latitude")
    private Float latitude;
	
	    //省
    @Column(name = "province")
    private String province;
	
	    //市
    @Column(name = "city")
    private String city;
	
	    //区
    @Column(name = "area")
    private String area;
	
	    //家庭慧的开通标志
    @Column(name = "family_flag")
    private Integer familyFlag;
	
	    //创建时间
    @Column(name = "created_time")
    private Date createdTime;
	
	    //俱乐部权限 0否 1是
    @Column(name = "club_flag")
    private Integer clubFlag;
	
	    //俱乐部id
    @Column(name = "club_id")
    private Integer clubId;
	
	    //修改时间
    @Column(name = "updated_time")
    private Date updatedTime;
	
	    //状态
    @Column(name = "status")
    private Integer status;
	
	    //指导师id
    @Column(name = "teacher_id")
    private Integer teacherId;
	
	    //
    @Column(name = "attr2")
    private String attr2;
	
	    //
    @Column(name = "attr3")
    private String attr3;
	
	    //
    @Column(name = "attr4")
    private String attr4;
	
	    //
    @Column(name = "attr5")
    private String attr5;
	
	    //
    @Column(name = "attr6")
    private String attr6;
	
	    //是否禁言
    @Column(name = "is_shutup")
    private Integer isShutup;
	
	    //禁言时长
    @Column(name = "shutup_time")
    private String shutupTime;

    @Column(name = "family_str_time")
    private Date familyStrTime;

    @Column(name = "clud_time")
    private  Date cludTime;

	@Column(name = "integral")
	private Integer integral;

	@Column(name = "generalize_code")
	private String generalizeCode;

	@Column(name = "price")
	private Double price;

	@Column(name = "base_id")
	private String baseId;

	@Column(name = "fuser_id")
	private String fuserId;

	@Column(name = "course_code")
	private String courseCode;

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getCourseCode() {
		return courseCode;
	}

	public void setCourseCode(String courseCode) {
		this.courseCode = courseCode;
	}

	public String getFuserId() {
		return fuserId;
	}

	public void setFuserId(String fuserId) {
		this.fuserId = fuserId;
	}

	public String getBaseId() {
		return baseId;
	}

	public void setBaseId(String baseId) {
		this.baseId = baseId;
	}

	public Integer getIntegral() {
		return integral;
	}

	public String getGeneralizeCode() {
		return generalizeCode;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public void setGeneralizeCode(String generalizeCode) {
		this.generalizeCode = generalizeCode;
	}

	public Date getFamilyStrTime() {
		return familyStrTime;
	}

	public Date getCludTime() {
		return cludTime;
	}

	public void setFamilyStrTime(Date familyStrTime) {
		this.familyStrTime = familyStrTime;
	}

	public void setCludTime(Date cludTime) {
		this.cludTime = cludTime;
	}

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：主id  家庭主id
	 */
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	/**
	 * 获取：主id  家庭主id
	 */
	public Integer getPid() {
		return pid;
	}
	/**
	 * 设置：与主id的关系
	 */
	public void setRelation(String relation) {
		this.relation = relation;
	}
	/**
	 * 获取：与主id的关系
	 */
	public String getRelation() {
		return relation;
	}
	/**
	 * 设置：姓名
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：姓名
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：昵称
	 */
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	/**
	 * 获取：昵称
	 */
	public String getNickName() {
		return nickName;
	}
	/**
	 * 设置：手机
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	/**
	 * 获取：手机
	 */
	public String getMobile() {
		return mobile;
	}
	/**
	 * 设置：邮箱
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	/**
	 * 获取：邮箱
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * 设置：密码
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * 获取：密码
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * 设置：客户端唯一标识
	 */
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	/**
	 * 获取：客户端唯一标识
	 */
	public String getUuid() {
		return uuid;
	}
	/**
	 * 设置：推送的令牌
	 */
	public void setPushToken(String pushToken) {
		this.pushToken = pushToken;
	}
	/**
	 * 获取：推送的令牌
	 */
	public String getPushToken() {
		return pushToken;
	}
	/**
	 * 设置：性别
	 */
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	/**
	 * 获取：性别
	 */
	public Integer getSex() {
		return sex;
	}
	/**
	 * 设置：用户注册来源(0->iPhone, 1->iPad, 2->Android, 3->微信, 4->H5, 5->网站)
	 */
	public void setSourceint(Integer sourceint) {
		this.sourceint = sourceint;
	}
	/**
	 * 获取：用户注册来源(0->iPhone, 1->iPad, 2->Android, 3->微信, 4->H5, 5->网站)
	 */
	public Integer getSourceint() {
		return sourceint;
	}
	/**
	 * 设置：头像
	 */
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	/**
	 * 获取：头像
	 */
	public String getAvatar() {
		return avatar;
	}
	/**
	 * 设置：经度
	 */
	public void setLongitude(Float longitude) {
		this.longitude = longitude;
	}
	/**
	 * 获取：经度
	 */
	public Float getLongitude() {
		return longitude;
	}
	/**
	 * 设置：纬度
	 */
	public void setLatitude(Float latitude) {
		this.latitude = latitude;
	}
	/**
	 * 获取：纬度
	 */
	public Float getLatitude() {
		return latitude;
	}
	/**
	 * 设置：省
	 */
	public void setProvince(String province) {
		this.province = province;
	}
	/**
	 * 获取：省
	 */
	public String getProvince() {
		return province;
	}
	/**
	 * 设置：市
	 */
	public void setCity(String city) {
		this.city = city;
	}
	/**
	 * 获取：市
	 */
	public String getCity() {
		return city;
	}
	/**
	 * 设置：区
	 */
	public void setArea(String area) {
		this.area = area;
	}
	/**
	 * 获取：区
	 */
	public String getArea() {
		return area;
	}
	/**
	 * 设置：家庭慧的开通标志
	 */
	public void setFamilyFlag(Integer familyFlag) {
		this.familyFlag = familyFlag;
	}
	/**
	 * 获取：家庭慧的开通标志
	 */
	public Integer getFamilyFlag() {
		return familyFlag;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreatedTime() {
		return createdTime;
	}
	/**
	 * 设置：俱乐部权限 0否 1是
	 */
	public void setClubFlag(Integer clubFlag) {
		this.clubFlag = clubFlag;
	}
	/**
	 * 获取：俱乐部权限 0否 1是
	 */
	public Integer getClubFlag() {
		return clubFlag;
	}
	/**
	 * 设置：俱乐部id
	 */
	public void setClubId(Integer clubId) {
		this.clubId = clubId;
	}
	/**
	 * 获取：俱乐部id
	 */
	public Integer getClubId() {
		return clubId;
	}
	/**
	 * 设置：修改时间
	 */
	public void setUpdatedTime(Date updatedTime) {
		this.updatedTime = updatedTime;
	}
	/**
	 * 获取：修改时间
	 */
	public Date getUpdatedTime() {
		return updatedTime;
	}
	/**
	 * 设置：状态
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：状态
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：
	 */
	public Integer getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}

	/**
	 * 设置：
	 */
	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}
	/**
	 * 获取：
	 */
	public String getAttr2() {
		return attr2;
	}
	/**
	 * 设置：
	 */
	public void setAttr3(String attr3) {
		this.attr3 = attr3;
	}
	/**
	 * 获取：
	 */
	public String getAttr3() {
		return attr3;
	}
	/**
	 * 设置：
	 */
	public void setAttr4(String attr4) {
		this.attr4 = attr4;
	}
	/**
	 * 获取：
	 */
	public String getAttr4() {
		return attr4;
	}
	/**
	 * 设置：
	 */
	public void setAttr5(String attr5) {
		this.attr5 = attr5;
	}
	/**
	 * 获取：
	 */
	public String getAttr5() {
		return attr5;
	}
	/**
	 * 设置：
	 */
	public void setAttr6(String attr6) {
		this.attr6 = attr6;
	}
	/**
	 * 获取：
	 */
	public String getAttr6() {
		return attr6;
	}
	/**
	 * 设置：是否禁言
	 */
	public void setIsShutup(Integer isShutup) {
		this.isShutup = isShutup;
	}
	/**
	 * 获取：是否禁言
	 */
	public Integer getIsShutup() {
		return isShutup;
	}
	/**
	 * 设置：禁言时长
	 */
	public void setShutupTime(String shutupTime) {
		this.shutupTime = shutupTime;
	}
	/**
	 * 获取：禁言时长
	 */
	public String getShutupTime() {
		return shutupTime;
	}
}
